package com.undsf.despot.modles;

import java.util.Map;

/**
 * Created by Arathi on 2016/10/3.
 */
public class Hero extends Unit {
    public int getAttack() {
        int atk = attack;
        // equip
        // item
        for (Item item : items) {
            if (item.isEquiped()) {
                // atk += item.attack;
            }
        }
        // buff
        for (Buff buff : buffs.values()) {
            // atk += 0;
        }
        return atk;
    }
}
